{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "e032d482-d830-488b-bed5-fd6a0ca0b3ae",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 读取csv文件和txt文件\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5e790079-2bcc-4751-af0b-cee026c079c1",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import requests\n",
    "\n",
    "#读取数据\n",
    "html_data = requests.get('')\n",
    "\n",
    "#读取网页中所有表格数据\n",
    "html_table_table = pd.read_html(html_data.content, encoding='utf8')\n",
    "\n",
    "#获取索引为3行5列表格的数据\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "c95034c6-ce46-4588-a146-758a3b6822f3",
   "metadata": {},
   "source": [
    "在实际的"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
